package com.muyu.day3zy.domain;

import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * @ClassName SkuInfo
 * @Description 描述
 * @Author ShiYu.Cui
 * @Date 2024/3/24 9:38
 */
public class SkuInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** skuid */
    @Excel(name = "skuid", cellType = Excel.ColumnType.NUMERIC)
    private Long id;

    /** 属性类型 */
    @Excel(name = "属性类型")
    private Integer attributeId;

    /** 商品规格 */
    @Excel(name = "商品规格")
    private Integer specificationId;

    /** 属性图片 */
    @Excel(name = "属性图片")
    private String pic;

    /** 商品参数 */
    @Excel(name = "商品参数")
    private String argument;

    /** 商品相册 */
    @Excel(name = "商品相册")
    private String photoAlbum;

    /** 商品详情 */
    @Excel(name = "商品详情")
    private String introduce;

    /** 商品id */
    @Excel(name = "商品id")
    private Integer productId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getAttributeId() {
        return attributeId;
    }

    public void setAttributeId(Integer attributeId) {
        this.attributeId = attributeId;
    }

    public Integer getSpecificationId() {
        return specificationId;
    }

    public void setSpecificationId(Integer specificationId) {
        this.specificationId = specificationId;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getArgument() {
        return argument;
    }

    public void setArgument(String argument) {
        this.argument = argument;
    }

    public String getPhotoAlbum() {
        return photoAlbum;
    }

    public void setPhotoAlbum(String photoAlbum) {
        this.photoAlbum = photoAlbum;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("attributeId", getAttributeId())
                .append("specificationId", getSpecificationId())
                .append("pic", getPic())
                .append("argument", getArgument())
                .append("photoAlbum", getPhotoAlbum())
                .append("introduce", getIntroduce())
                .append("productId", getProductId())
                .toString();
    }
}
